package com.cares.entity.mng;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.cares.entity.base.Entity;

public class Menu extends Entity  implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5143065882244659035L;
	private Long upMenuId;
	private String iconCls;
	private String menuPath;
	private String menuLevel;
	private String name;
	private String url;
	private String decode;
	private int menuSort;
	private String sysMenu;
	private String available;
	private String delFlag;
	private String optString;
	
	private List<Menu> subMenuList=new ArrayList<Menu>();

	public Long getUpMenuId() {
		return upMenuId;
	}
	public void setUpMenuId(Long upMenuId) {
		this.upMenuId = upMenuId;
	}
	public String getIconCls() {
		return iconCls;
	}
	public void setIconCls(String iconCls) {
		this.iconCls = iconCls;
	}
	public String getMenuPath() {
		return menuPath;
	}
	public void setMenuPath(String menuPath) {
		this.menuPath = menuPath;
	}
	public String getMenuLevel() {
		return menuLevel;
	}
	public void setMenuLevel(String menuLevel) {
		this.menuLevel = menuLevel;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getDecode() {
		return decode;
	}
	public void setDecode(String decode) {
		this.decode = decode;
	}
	public int getMenuSort() {
		return menuSort;
	}
	public void setMenuSort(int menuSort) {
		this.menuSort = menuSort;
	}
	public String getSysMenu() {
		return sysMenu;
	}
	public void setSysMenu(String sysMenu) {
		this.sysMenu = sysMenu;
	}
	public String getAvailable() {
		return available;
	}
	public void setAvailable(String available) {
		this.available = available;
	}
	public String getDelFlag() {
		return delFlag;
	}
	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}
	public List<Menu> getSubMenuList() {
		return subMenuList;
	}
	public void setSubMenuList(List<Menu> subMenuList) {
		this.subMenuList = subMenuList;
	}
	public String getOptString() {
		return "<a href='#' onClick='addBut()'>按钮设置</a>>";
	}
	public void setOptString(String optString) {
		this.optString = optString;
	}

}
